@charset"utf-8";
@import"color";
@import"model-beta";
@import'theme';
@import'mobile.admin';
* {
    margin: 0 auto;
    // font-size: 12px;
}

body.ready {
    transform: translate3d(0, 0, 0)\9;
    @include comic_1(0, 0);
}

.ready #jSouperApp._pc {
    .top {
        @include BgTransparentAll(0, 0);
    }
    .main .list-button {
        @include BgTransparentAll(0, 0);
        margin-left: -60px;
    }
    .main .right {
        @include BgTransparentAll(0, 0);
        margin-left: 140px!important;
    }
}

#jSouperApp._pc {
    padding-top: 50px;
    button {
        padding: 5px 15px;
        border: 0;
        cursor: pointer;
        background-color: $white;
        @include shadow(0, 1px, 3px, #C2BEBE);
        color: $black;
        margin: auto 0;
        @include radius(2);
        @include comic_1(0.3, 0);
        &:hover {
            color: $white;
            background-color: $orange;
        }
    }
    hr {
        width: 100%;
        background-color: $grayLighter;
        margin: 15px auto;
    }
    .button_list {
        background-image: url("../images/top_banner.jpg");
        height: 50px;
        width: 100%;
        border-bottom: 1px solid $grayLighter;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1100;
        .box {
            width: 1200px;
            margin: 0 auto;
            .nav {
                display: inline-block;
                vertical-align: top;
                width: 800px;
            }
            .admin {
                display: inline-block;
                vertical-align: top;
                width: 400px;
                text-align: right;
                .list_item {
                    font-size: 14px;
                    color: $cyan;
                }
            }
        }
        .list_item {
            display: inline-block;
            vertical-align: top;
            height: 50px;
            line-height: 50px;
            padding: 0 15px;
            font-size: 16px;
            cursor: pointer;
            position: relative;
            &:hover {
                color: $orange;
                .list {
                    height: auto;
                }
            }
            .list {
                position: absolute;
                width: 100%;
                text-align: center;
                top: 50px;
                height: 0;
                overflow: hidden;
                left: 0;
                font-size: 13px;
                background-color: $white;
                border: 1px solid $grayLighter;
                border-top: none;
                a {
                    display: block;
                    height: 30px;
                    line-height: 30px;
                    background-color: $white;
                    color: $silver;
                    &:hover {
                        color: $orange;
                    }
                }
            }
        }
    }
    .main {
        width: 1200px;
        min-height: 200px;
        margin: 15px auto 0 auto;
        clear: both;
        padding-bottom: 100px;
        a {
            text-decoration: none;
        }
        .mainbox {
            .nav {
                a {
                    color: $black;
                }
                .nav-li {
                    font-size: 14px;
                    @include radius(2);
                    display: inline-block;
                    vertical-align: top;
                    padding: 5px 15px;
                    cursor: pointer;
                    margin-right: 15px;
                    background-color: $white;
                    @include comic_1(0.5,
                    0);
                    &:hover {
                        color: $white;
                        background-color: $orange;
                    }
                    &.focus {
                        color: $white;
                        background-color: $cyan;
                    }
                }
            }
        }
    }
}

#agentinfo {
    width: 100%;
    .agentinfo {
        width: 100%;
        table {
            width: 100%;
            border: 1px solid #eee;
            border-collapse: collapse;
            &.noborder {
                border: none;
                margin-top: 25px;
                width: 400px;
                td {
                    border: none;
                    padding: 10px 5px;
                    input {
                        max-width: 100%;
                        padding: 5px 3px;
                        border: 1px solid #eee;
                        line-height: 1em;
                    }
                    button {
                        margin-left: 0;
                    }
                }
            }
            td {
                padding: 5px;
                border: 1px solid #eee;
                img {
                    display: block;
                    margin: 0 auto;
                    margin-bottom: 10px;
                    width: 120px;
                    max-height: 240px;
                }
                button {
                    display: block;
                    margin: 0 auto;
                }
                &.stitle {
                    padding: 10px 5px;
                    background-color: #eee;
                    font-size: 20px;
                }
            }
        }
    }
}

#storeregister {
    width: 100%;
    .storeregister {
        width: 100%;
        table {
            width: 100%;
            border: 1px solid #eee;
            border-collapse: collapse;
            td {
                padding: 5px;
                border: 1px solid #eee;
                &.stitle {
                    padding: 10px 5px;
                    background-color: #eee;
                    font-size: 20px;
                }
                &.input {
                    input {
                        border: 1px solid #eee;
                        max-width: 100%;
                        padding: 3px;
                        line-height: 1em;
                        box-sizing: border-box;
                        height: 24px;
                        &.wide {
                            width: 100%;
                        }
                    }
                    .storeimgbox {
                        margin-top: 10px;
                        text-align: left;
                        width: 100%;
                        .storeimg {
                            display: inline-block;
                            vertical-align: top;
                            width: 120px;
                            height: 120px;
                            margin-right: 15px;
                        }
                    }
                }
                img {
                    width: 120px;
                    max-height: 240px;
                    margin: 0 auto;
                    display: block;
                    margin-bottom: 10px;
                }
                button {
                    margin: 0 auto;
                    display: block;
                }
            }
        }
        .submit {
            margin-top: 15px;
        }
    }
}

#storelist {
    width: 100%;
    .storelist {
        width: 100%;
        table {
            width: 100%;
            border: 1px solid #eee;
            border-collapse: collapse;
            thead {
                td {
                    padding: 10px 5px;
                    background-color: #eee;
                    font-size: 20px;
                }
            }
            td {
                border: 1px solid #eee;
                padding: 5px;
                a {
                    color: $cyan;
                    padding: 5px 10px;
                    &:hover {
                        color: $orange;
                    }
                }
            }
        }
    }
}

#finance {
    width: 100%;
    .finance {
        width: 100%;
        .title {
            font-size: 20px;
            margin-bottom: 15px;
        }
        .choose {
            width: 100%;
            input {
                border: 1px solid #eee;
                        max-width: 100%;
                padding: 3px;
                line-height: 1em;
            }
        }
        table {
            width: 100%;
            border: 1px solid #eee;
            border-collapse: collapse;
            thead {
                td {
                    padding: 10px 5px;
                    background-color: #eee;
                    font-size: 18px;
                }
            }
            td {
                border: 1px solid #eee;
                padding: 5px;
            }
        }
    }
}

#buystock {
    width: 100%;
    .buystock {
        width: 100%;
        table {
            width: 100%;
            border: 1px solid #eee;
            border-collapse: collapse;
            thead {
                td {
                    padding: 10px 5px;
                    background-color: #eee;
                    font-size: 20px;
                }
            }
            td {
                border: 1px solid #eee;
                padding: 5px;
                a {
                    color: $black;
                    padding: 5px;
                    &:hover {
                        color: $orange;
                    }
                }
                input {
                    width: 120px;
                    max-width: 100%;
                    padding: 3px;
                    line-height: 1em;
                    border: 1px solid #eee;
                }
                select {
                    border: 1px solid #eee;
                }
            }
        }
        .submit {
            margin-top: 15px;
        }
    }
}

.img-editor-layer {
    background-color: $black;
    position: fixed;
    z-index: 1000;
    overflow: hidden;
    width: 100%;
    padding: 0 50px;
    height: 0;
    top: 0;
    left: 0;
    @include shadow(0,
    0,
    0,
    $white);
    @include radius(2);
    @include comic_1(0.5,
    0);
    &.focus {
        @include shadow(0,
        1px,
        8px,
        #c0c0c0);
        height: 100%;
        background-color: $black;
        top: 0;
        left: 0;
        padding: 50px 50px;
    }
    .cropper-container {
        max-height: 380px;
    }
    imagecropwrap {
        display: block;
        .cropper-container {
            width: 500px;
            left: 0 !important;
        }
        imagecropcontrol {
            display: block;
            margin-bottom: 10px;
        }
    }
}

button.paper-button {
    border-bottom: none!important;
    &:hover {
        color: $white!important;
        background-color: $white!important;
    }
    .paper-container {
        spaninner {
            line-height: 30px !important;
            input[type="text"] {
                border: none!important;
                border-bottom: 1px solid $grayLighter!important;
            }
        }
    }
}

myinputnumber {
    border: 1px solid $grayLighter!important;
    input {
        border: none!important;
        outline: none!important;
    }
    numbercut,
    numberadd {
        background-color: $white!important;
        color: $black!important;
        &:hover {
            background-color: $orange!important;
            color: $white!important;
        }
    }
    numbercut {
        border-right: 1px solid $grayLighter!important;
    }
    numberadd {
        border-left: 1px solid $grayLighter;
    }
}
